package com.corticon.dialogs.dao;

import java.util.List;

import com.corticon.dialogs.model.Units;
import com.corticon.dialogs.util.Pager;

public interface UnitsDAO extends GenericDAO<Units, String>{
	public long getCountByUserGroup(String userGroup);
	public long getCountByUserGroupAll(String userGroup);

    public List<Units> findPageByUserGroup(String userGroup, Pager pager);
    public List<Units> findPageByUserGroupAll(String userGroup, Pager pager);

}